package com.example.exceldemo.constants;

/**
 * 文档生成相关常量
 *
 * @author system
 */
public class DocConstants {

    /**
     * 日期格式常量
     */
    public static final class DatePattern {
        /**
         * 日期格式：yyyyMMdd
         */
        public static final String DATE = "yyyyMMdd";
        
        /**
         * 时间格式：HHmmss
         */
        public static final String TIME = "HHmmss";
        
        /**
         * 日期时间格式：yyyyMMddHHmmss
         */
        public static final String DATETIME = "yyyyMMddHHmmss";
        
        /**
         * 私有构造方法，防止实例化
         */
        private DatePattern() {
            throw new IllegalStateException("常量类不能实例化");
        }
    }
    
    /**
     * 功能相关常量
     */
    public static final class Function {
        /**
         * 默认功能名称
         */
        public static final String DEFAULT_FUNCTION = "默认功能";
        
        /**
         * 功能分隔符
         */
        public static final String SEPARATOR = "###";
        
        /**
         * 功能描述分隔符
         */
        public static final String DESC_SEPARATOR = ":";
        
        /**
         * 默认系统名称
         */
        public static final String DEFAULT_SYSTEM = "甘肃在线";
        
        /**
         * 私有构造方法，防止实例化
         */
        private Function() {
            throw new IllegalStateException("常量类不能实例化");
        }
    }
    
    /**
     * 设置相关常量
     */
    public static final class Settings {
        /**
         * 模板目录键
         */
        public static final String TEMPLATE_DIR = "templateDir";
        
        /**
         * 输出目录键
         */
        public static final String OUTPUT_DIR = "outputDir";
        
        /**
         * 审核人键
         */
        public static final String AUDITOR = "auditor";
        
        /**
         * 作者键
         */
        public static final String AUTHOR = "author";
        
        /**
         * 所属部门键
         */
        public static final String DEPARTMENT = "department";
        
        /**
         * 分析人员键
         */
        public static final String ANALYSTS = "analysts";
        
        /**
         * 是否关键需求键
         */
        public static final String IS_KEY = "isKey";
        
        /**
         * 紧急程度键
         */
        public static final String URGENCY = "urgency";
        
        /**
         * 是否加急键
         */
        public static final String IS_URGENT = "isUrgent";
        
        /**
         * 文档版本号键
         */
        public static final String VERSION = "version";
        
        /**
         * 公司名称键
         */
        public static final String COMPANY_NAME = "companyName";
        
        /**
         * 保密级别键
         */
        public static final String CONFIDENTIALITY = "confidentiality";
        
        /**
         * 需求优先级键
         */
        public static final String DEFAULT_PRIORITY = "defaultPriority";
        
        /**
         * 实现复杂度键
         */
        public static final String DEFAULT_COMPLEXITY = "defaultComplexity";
        
        /**
         * 风险评估键
         */
        public static final String DEFAULT_RISK = "defaultRisk";
        
        /**
         * 自动备份键
         */
        public static final String AUTO_BACKUP = "autoBackup";
        
        /**
         * 备份目录键
         */
        public static final String BACKUP_DIR = "backupDir";
        
        /**
         * 文件命名格式键
         */
        public static final String FILE_NAME_FORMAT = "fileNameFormat";
        
        /**
         * 最大线程数键
         */
        public static final String MAX_THREADS = "maxThreads";
        
        /**
         * 私有构造方法，防止实例化
         */
        private Settings() {
            throw new IllegalStateException("常量类不能实例化");
        }
    }
    
    /**
     * 私有构造方法，防止实例化
     */
    private DocConstants() {
        throw new IllegalStateException("常量类不能实例化");
    }
} 